package com.cskaoyan.mapper.admin;

import com.cskaoyan.bean.admin.PermissionWithSystem;
import com.cskaoyan.bean.admin.PermissionWithSystemExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionWithSystemMapper {
    long countByExample(PermissionWithSystemExample example);

    int deleteByExample(PermissionWithSystemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PermissionWithSystem record);

    int insertSelective(PermissionWithSystem record);

    List<PermissionWithSystem> selectByExample(PermissionWithSystemExample example);

    PermissionWithSystem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PermissionWithSystem record, @Param("example") PermissionWithSystemExample example);

    int updateByExample(@Param("record") PermissionWithSystem record, @Param("example") PermissionWithSystemExample example);

    int updateByPrimaryKeySelective(PermissionWithSystem record);

    int updateByPrimaryKey(PermissionWithSystem record);
}